package poker.engine;

/**
 * Une carte, c'est une Valeur (Un, Deux,..) et un Type (Carreau, Trefle,...)
 * @author gui13
 *
 */
public class Card implements Constants{
	/*
	 * Members
	 */
	private CardType type;
	private CardValue value;
	private boolean available;

	/*
	 * Constructors
	 */
	public Card(CardValue v, CardType t){
		type = t;
		value = v;
		available = true;
	}
	public Card()
	{
		available = true;
		type = CardType.Indefini;
		value = CardValue.Indefini;
	}
	
	/*
	 * Methods
	 */
	public void Set(CardValue v, CardType t)
	{
		value = v; type = t;
	}
	public void Print() {
		System.out.println("Card is the " + value + " of " +type +"\n");
	}


}
